package com.glory.good_dark.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.glory.good_dark.R;

import java.util.List;

public class NormalPopListAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public NormalPopListAdapter(@Nullable List<String> data) {
        super(R.layout.adapter_normal_pop,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tvContent, item);
        helper.addOnClickListener(R.id.tvContent)
                .addOnClickListener(R.id.ivDelete);
    }
}
